.class Lcom/glympse/android/glympse/ViewFavorites$OnClickedItem;
.super Ljava/lang/Object;
.source "ViewFavorites.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/android/glympse/ViewFavorites;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "OnClickedItem"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/glympse/android/glympse/ViewFavorites;


# direct methods
.method constructor <init>(Lcom/glympse/android/glympse/ViewFavorites;)V
    .locals 0
    .parameter

    .prologue
    .line 294
    iput-object p1, p0, Lcom/glympse/android/glympse/ViewFavorites$OnClickedItem;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 2
    .parameter
    .parameter "oView"
    .parameter "nPosition"
    .parameter "lId"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 301
    .local p1, AdapterView:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$OnClickedItem;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$8(Lcom/glympse/android/glympse/ViewFavorites;)Lcom/glympse/android/glympse/ViewFavorites$TicketAdapter;

    move-result-object v0

    if-eqz v0, :cond_0

    if-ltz p3, :cond_0

    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$OnClickedItem;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v0}, Lcom/glympse/android/glympse/ViewFavorites;->access$8(Lcom/glympse/android/glympse/ViewFavorites;)Lcom/glympse/android/glympse/ViewFavorites$TicketAdapter;

    move-result-object v0

    invoke-virtual {v0}, Lcom/glympse/android/glympse/ViewFavorites$TicketAdapter;->getCount()I

    move-result v0

    if-lt p3, v0, :cond_1

    .line 308
    .end local p0
    :cond_0
    :goto_0
    return-void

    .line 307
    .restart local p0
    :cond_1
    iget-object v0, p0, Lcom/glympse/android/glympse/ViewFavorites$OnClickedItem;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    iget-object v1, p0, Lcom/glympse/android/glympse/ViewFavorites$OnClickedItem;->this$0:Lcom/glympse/android/glympse/ViewFavorites;

    invoke-static {v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$8(Lcom/glympse/android/glympse/ViewFavorites;)Lcom/glympse/android/glympse/ViewFavorites$TicketAdapter;

    move-result-object v1

    invoke-virtual {v1, p3}, Lcom/glympse/android/glympse/ViewFavorites$TicketAdapter;->getItem(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0
    check-cast p0, Lcom/glympse/platform/common/Ticket;

    const/4 v1, 0x0

    invoke-static {v0, p0, v1}, Lcom/glympse/android/glympse/ViewFavorites;->access$9(Lcom/glympse/android/glympse/ViewFavorites;Lcom/glympse/platform/common/Ticket;Z)V

    goto :goto_0
.end method
